var fs = require('fs');

var file={
     mkdirs : function(paths,cb){
         
        paths.forEach(p => {
             
            fs.mkdirSync(p)
        });
    },
    readAndWrite :function(sourcePath,targetPath){
        return fs.writeFileSync(targetPath,fs.readFileSync(sourcePath,'utf8'))
    }
}



module.exports = file